package com.xja.friend.mapper;


import com.xja.friend.entity.Chatuser;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;


@Mapper
public interface ChatuserMapper {
    int deleteByPrimaryKey(Integer id);

    //查询登录用户的好友信息
    List<Chatuser> findNickName(Integer mineid);
    //登录
    Chatuser seleteByName(String userid);
    //查询好友
    List<Chatuser> seleteList(Map map);


    int insert(Chatuser record);

    int insertSelective(Chatuser record);

    Chatuser selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Chatuser record);

    int updateByPrimaryKey(Chatuser record);
}